package com.monkey.tensquare.base.service;

import com.monkey.tensquare.base.entity.City;
import entity.PageResult;

import java.util.List;

public interface CityService {
    void add(City city);

    List<City> findAll();

    void update(String cityId, City city);

    void delete(String cityId);

    City findById(String cityId);

    List<City> search(City city);

    PageResult<City> search(City city, Integer page, Integer size);
}
